import { requestGet, requestPost } from "./request/request";

/**
 * 检查是否绑定
 * @param {*} obj 
 */
export const CheckLogin = (obj) => {
return requestGet("api/WeChat/Merchant_CheckLogin_ByPass",obj)
}
/**
 * 发送短信
 * @returns 
 */
export const SENDMESSAGE=(obj)=>{
    return requestPost("api/Wechat/SendMessage",obj)
}

/**
 * 绑定供应商
 * @param {*} obj 
 * @returns 
 */
export const BINDUSER=(obj)=>{
    return requestPost("api/WeChat/BindMerchant",obj)
}

/**
 * 微信绑定用户 
 * @param {*} obj 
 * @returns 
 */
export const BINDUSER_PASS=(obj)=>{
    return requestPost("api/WeChat/Merchant_Login_Pass",obj)
}


/**
 * 商户解除绑定
 * @param {*} obj
 */
export const merchantUnBind = (obj) => {
   return requestPost("api/wechat/MerchantUnBind",obj)
  };